<template>
  <div>
    <div class="head">
      <img src="../assets/download.png" alt="" @click="login" />
      <div class="login" @click="login">立即登录</div>
    </div>
    <div class="middle">
      <div class="left">
        <div class="innerboxUp"><span>0</span> 张</div>
        <div class="innerboxDown">卖座券</div>
      </div>
      <div class="right">
        <div class="innerboxUp"><span>￥</span><span>0</span> 余额</div>
        <div class="innerboxDown">余额</div>
      </div>
    </div>
    <div class="middleBg"></div>
    <ul>
      <li>
        <img src="../assets/setting.png" alt="" />
        <div class="word">设置</div>
        <img src="../assets/bingo.png" alt="" />
      </li>
      <li>
        <img src="../assets/setting.png" alt="" />
        <div class="word">设置</div>
        <img src="../assets/bingo.png" alt="" />
      </li>
      <li>
        <img src="../assets/setting.png" alt="" />
        <div class="word">设置</div>
        <img src="../assets/bingo.png" alt="" />
      </li>
      <li>
        <img src="../assets/setting.png" alt="" />
        <div class="word">设置</div>
        <img src="../assets/bingo.png" alt="" />
      </li>
      <li>
        <img src="../assets/setting.png" alt="" />
        <div class="word">设置</div>
        <img src="../assets/bingo.png" alt="" />
      </li>
    </ul>
    <div class="full"></div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from "vue-router";
const router = useRouter();
function login() {
  router.push("/login");
}
</script>

<style scoped>
* {
  box-sizing: border-box;
}

.head {
  width: 100%;
  height: 160px;
  background-color: orange;
  overflow: hidden;
}
.head img {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  float: left;
  margin-top: 48px;
  margin-left: 25px;
}
.login {
  font-size: 16px;
  color: white;
  margin-top: 70px;
  margin-left: 15px;
  float: left;
}
.middle {
  width: 100%;
  height: 79px;
  /* margin-top: 160px; */
}
.left {
  width: 187px;
  height: 79px;
  float: left;
}
.right {
  width: 187px;
  height: 79px;
  float: left;
  margin-left: 1px;
}
.innerboxUp {
  width: 187px;
  height: 40px;
  text-align: center;
  padding-top: 25px;
  font-size: 17px;
}
.innerboxUp span {
  font-size: 17px;
}
.innerboxDown {
  width: 187px;
  height: 39px;
  text-align: center;
  font-size: 13px;
  color: #797d82;
  padding-top: 5px;
}
.middleBg {
  width: 100%;
  height: 10px;
  background-color: rgb(240, 239, 239);
}
.content {
  padding: 16px 16px 160px;
}
li {
  width: 100%;
  height: 48px;
  padding: 15px;
  border-bottom: 1px solid rgb(229, 228, 228);
}
li img:nth-of-type(1) {
  width: 20px;
  height: 20px;
  float: left;
}
.word {
  margin-left: 15px;
  color: #191a1b;
  float: left;
  margin-top: 1px;
}
li img:nth-of-type(2) {
  width: 6px;
  height: 10px;
  float: right;
  margin-top: 5px;
}
.full {
  width: 100%;
  height: 177px;
  background-color: rgb(240, 239, 239);
}
</style>
